/********************************************************************************
** Form generated from reading UI file 'QNoteListItemWidget.ui'
**
** Created: Fri Sep 3 09:08:29 2010
**      by: Qt User Interface Compiler version 4.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_QNOTELISTITEMWIDGET_H
#define UI_QNOTELISTITEMWIDGET_H

#include <QtCore/QVariant>
#include <MAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGraphicsGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <MLabel>
#include <MWidget>
#include <QGraphicsLinearLayout>
#include <MImageWidget>

QT_BEGIN_NAMESPACE

class MNoteListItemWidget : public MWidget
{
public:
    QGraphicsGridLayout *gridLayout;
    MLabel *lNoteTitle;
    MLabel *lNoteDate;
    MImageWidget *lDeleteMark;
    QGraphicsLinearLayout *horizontalLayout;
    MImageWidget *lTagIcon;
    MLabel *lNoteTags;

    MNoteListItemWidget(MWidget* parent = 0) : MWidget(parent) {
        setObjectName("MNoteListItemWidget");
        gridLayout = new QGraphicsGridLayout(this);
        //gridLayout->setSpacing(6);
        //gridLayout->setContentsMargins(11, 11, 11, 11);
        //gridLayout->setContentsMargins(8, 0, 0, 8);
        lNoteTitle = new MLabel(this);
        lNoteTitle->setObjectName(QString::fromUtf8("lNoteTitle"));
        //lNoteTitle->setMaximumSize(QSize(700, 16777215));
        QFont font;
        font.setFamily(QString::fromUtf8("Nokia Sans"));
        font.setPointSize(18);
        font.setStyleStrategy(QFont::PreferAntialias);
        lNoteTitle->setFont(font);
        lNoteTitle->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        gridLayout->addItem(lNoteTitle, 0, 0, 1, 1);

        lNoteDate = new MLabel(this);
        lNoteDate->setObjectName(QString::fromUtf8("lNoteDate"));
        //lNoteDate->setMaximumSize(QSize(16777215, 20));
        QFont font1;
        font1.setFamily(QString::fromUtf8("Nokia Sans"));
        font1.setPointSize(13);
        font1.setStyleStrategy(QFont::PreferAntialias);
        lNoteDate->setFont(font1);
        //lNoteDate->setStyleSheet(QString::fromUtf8("color: #37b4fc;"));
        lNoteDate->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addItem(lNoteDate, 0, 1, 1, 1);

        lDeleteMark = new MImageWidget(this);
        lDeleteMark->setObjectName(QString::fromUtf8("lDeleteMark"));
        lDeleteMark->setMinimumSize(QSize(32, 32));
        lDeleteMark->setMaximumSize(QSize(32, 32));
        gridLayout->addItem(lDeleteMark, 0, 2, 2, 1);

        horizontalLayout = new QGraphicsLinearLayout(Qt::Horizontal);
        //horizontalLayout->setSpacing(6);
        lTagIcon = new MImageWidget(this);
        lTagIcon->setObjectName(QString::fromUtf8("lTagIcon"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lTagIcon->sizePolicy().hasHeightForWidth());
        lTagIcon->setSizePolicy(sizePolicy);
        lTagIcon->setMaximumSize(QSize(24, 24));
        lTagIcon->setPixmap(QPixmap(QString::fromUtf8(":/IconAdd/Tag-32.png")));
        //lTagIcon->setScaledContents(true);

        horizontalLayout->addItem(lTagIcon);

        lNoteTags = new MLabel(this);
        lNoteTags->setObjectName(QString::fromUtf8("lNoteTags"));
        QFont font2;
        font2.setFamily(QString::fromUtf8("Nokia Sans"));
        font2.setPointSize(10);
        font2.setItalic(false);
        font2.setStyleStrategy(QFont::PreferAntialias);
        lNoteTags->setFont(font2);
        //lNoteTags->setWordWrap(true);

        horizontalLayout->addItem(lNoteTags);


        gridLayout->addItem(horizontalLayout, 1, 0, 1, 2);

        QMetaObject::connectSlotsByName(this);
    } // setupUi
};

QT_END_NAMESPACE

#endif // UI_QNOTELISTITEMWIDGET_H
